package com.yingxue.lesson.vo.req;/*
 * @date:2021/6/19 22:05
 * @author: dzj
 **/

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class DeptAddReqVO {
    @ApiModelProperty(value = "部门名称")
    @NotBlank(message = "部门名称不能为空")
    private String name;
    @ApiModelProperty(value = "父级id 一级为 0")
    @NotBlank(message = "父级id不能为空")
    private String pid;
    @ApiModelProperty(value = "部门经理名称")
    private String managerName;
    @ApiModelProperty(value = "部门经理电话")
    private String phone;
    @ApiModelProperty(value = "机构状态(1:正常；0:弃用)")
    private Integer status;
}

